<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        img{
            width:200px;
            height: 200px;
            border:1px solid #ff0000;
            margin:10px;
        }
    </style>
</head>
<body>
{foreach $data as $v}
<img src="{$v.upload}"  alt="">
{/foreach}
</body>
</html>